package com.ftwj.demo.base.wrapper;

import java.util.Map;

public interface Condition {
	
	public ConditionWrapper eq(String column, Object val);
	
	public ConditionWrapper ne(String column, Object val);

	public ConditionWrapper allEq(Map<String, Object> params);
	
	public ConditionWrapper le(String column,Object val);
	
	public ConditionWrapper lt(String column,Object val);
	
	public ConditionWrapper ge(String column,Object val);

	public ConditionWrapper between(String column, Object valo, Object valt);

	public ConditionWrapper notBetween(String column, Object valo, Object valt);

	public ConditionWrapper isNull(String column);

	public ConditionWrapper isNotNull(String column);

	public ConditionWrapper orderByAsc(String... columns);
	
	public ConditionWrapper orderByDesc(String... columns);

	public ConditionWrapper applySql(String sql, Object... params);
	
	public ConditionWrapper gt(String column,Object val);
	
	public ConditionWrapper having(String... params);
	
	public ConditionWrapper orderBy(String... columns);
	
	public ConditionWrapper groupBy(String... columns);
	
	public ConditionWrapper notInSql(String column,String sql);
	
	public ConditionWrapper inSql(String column,String sql);
	
	public ConditionWrapper notIn(String column,Object... val);
	
	public ConditionWrapper likeRight(String column, Object val);
	
	public ConditionWrapper likeLeft(String column, Object val);
	
	public ConditionWrapper notLike(String column, Object val);
	
	public ConditionWrapper like(String column, Object val);
	
}
